package com.bank.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;

@Entity
@Table(name="trans_account_list")
@IdClass(TransAccountListKey.class)
public class TransAccountList implements Serializable{

	private static final long serialVersionUID = -1320962078800326805L;
	@Id
	@Column(name="sequence")
	private String sequence;/*序号*/
	@Column(name="account_no")
	private String account_no    ; /*账号*/
	@Id
	@Column(name="trans_workdate")
	private String trans_workdate     ; /*交易日期*/ 
	@Column(name="mainframe_workdate")
	private String mainframe_workdate; /*主机日期*/ 
	@Column(name="trans_code")
	private String trans_code; /*交易码*/
	@Column(name="trans_time")
	private String trans_time; /*交易时间*/
	@Column(name="dcflag")
	private String dcflag; /*借贷标志*/
	@Column(name="trans_amount")
	private Double  trans_amount; /*交易金额*/
	@Column(name="balance")
	private Double  balance;/*账户余额*/
	@Column(name="balance_direct")
	private String  balance_direct;/*余额方向*/
	@Column(name="trans_teller")
	private String  trans_teller;/*交易柜员*/
	@Column(name="auth_teller")
	private String auth_teller ;/*授权柜员*/
	@Id
	@Column(name="teller_serno")
	private String teller_serno;/*柜员流水*/
	@Column(name="customer_no")
	private String customer_no;/*客户号*/
	@Column(name="customer_name")
	private String customer_name;/*客户名称*/
	@Column(name="trans_ori")
	private String trans_ori;/*交易机构 */
	@Column(name="subject_number")
	private String subject_number;/*科目号*/
	@Column(name="currenry")
	private String currenry;/*货币代号*/
	@Column(name="status")
	private String status   ;/*状态*/
	@Column(name="reserved_data1")
	private String reserved_data1;/*备用字段1*/
	@Column(name="reserved_data2")
	private String reserved_data2;/*备用字段2*/
	@Column(name="reserved_data3")
	private String reserved_data3;/*备用字段3*/
	@Column(name="reserved_data4")
	private String reserved_data4;/*备用字4*/
	
	public String getSequence() {
		return sequence;
	}
	public void setSequence(String sequence) {
		this.sequence = sequence;
	}
	public String getAccount_no() {
		return account_no;
	}
	public void setAccount_no(String account_no) {
		this.account_no = account_no;
	}
	public String getTrans_workdate() {
		return trans_workdate;
	}
	public void setTrans_workdate(String trans_workdate) {
		this.trans_workdate = trans_workdate;
	}
	public String getMainframe_workdate() {
		return mainframe_workdate;
	}
	public void setMainframe_workdate(String mainframe_workdate) {
		this.mainframe_workdate = mainframe_workdate;
	}
	public String getTrans_code() {
		return trans_code;
	}
	public void setTrans_code(String trans_code) {
		this.trans_code = trans_code;
	}
	public String getTrans_time() {
		return trans_time;
	}
	public void setTrans_time(String trans_time) {
		this.trans_time = trans_time;
	}
	public String getDcflag() {
		return dcflag;
	}
	public void setDcflag(String dcflag) {
		this.dcflag = dcflag;
	}
	public Double getTrans_amount() {
		return trans_amount;
	}
	public void setTrans_amount(Double trans_amount) {
		this.trans_amount = trans_amount;
	}
	public Double getBalance() {
		return balance;
	}
	public void setBalance(Double balance) {
		this.balance = balance;
	}
	public String getBalance_direct() {
		return balance_direct;
	}
	public void setBalance_direct(String balance_direct) {
		this.balance_direct = balance_direct;
	}
	public String getTrans_teller() {
		return trans_teller;
	}
	public void setTrans_teller(String trans_teller) {
		this.trans_teller = trans_teller;
	}
	public String getAuth_teller() {
		return auth_teller;
	}
	public void setAuth_teller(String auth_teller) {
		this.auth_teller = auth_teller;
	}
	public String getTeller_serno() {
		return teller_serno;
	}
	public void setTeller_serno(String teller_serno) {
		this.teller_serno = teller_serno;
	}
	public String getCustomer_no() {
		return customer_no;
	}
	public void setCustomer_no(String customer_no) {
		this.customer_no = customer_no;
	}
	public String getCustomer_name() {
		return customer_name;
	}
	public void setCustomer_name(String customer_name) {
		this.customer_name = customer_name;
	}
	public String getTrans_ori() {
		return trans_ori;
	}
	public void setTrans_ori(String trans_ori) {
		this.trans_ori = trans_ori;
	}
	public String getSubject_number() {
		return subject_number;
	}
	public void setSubject_number(String subject_number) {
		this.subject_number = subject_number;
	}
	public String getCurrenry() {
		return currenry;
	}
	public void setCurrenry(String currenry) {
		this.currenry = currenry;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getReserved_data1() {
		return reserved_data1;
	}
	public void setReserved_data1(String reserved_data1) {
		this.reserved_data1 = reserved_data1;
	}
	public String getReserved_data2() {
		return reserved_data2;
	}
	public void setReserved_data2(String reserved_data2) {
		this.reserved_data2 = reserved_data2;
	}
	public String getReserved_data3() {
		return reserved_data3;
	}
	public void setReserved_data3(String reserved_data3) {
		this.reserved_data3 = reserved_data3;
	}
	public String getReserved_data4() {
		return reserved_data4;
	}
	public void setReserved_data4(String reserved_data4) {
		this.reserved_data4 = reserved_data4;
	}
	
	
}
